import { onMount } from 'svelte';
import { writable } from 'svelte/store';

export const useInClient = () => {
	const inClient = writable(false);

	onMount(() => inClient.set(true));

	return { inClient };
};
